<template>
    <div>
        <mt-header class="m_mint_header" fixed title="邀请好友">
            <router-link to="/m/friends" slot="left">
                <mt-button icon="back"></mt-button>
            </router-link>
        </mt-header>
        <div class="h50"></div>
        <div class="my_invite_list">
            <template v-for="user in myInviteData">
                <mt-cell :title="user.mail" :value="user.createTime"></mt-cell>
            </template>
        </div>

    </div>
</template>

<script>
    export default {
        name: "FriendsRecord",
        data() {
            return {
                myInviteData: []
            }
        },
        mounted() {
            this.requestGetMyInvite();
        },
        methods: {
            requestGetMyInvite() {
                this.requestAxios.requestWeb('post', '/api/my_invite.do', null, (response) => {
                    // console.log('invite ==',response);
                    this.myInviteData = response.data;
                })
            },
        }
    }
</script>

<style>
    .my_invite_list {
        margin-top: .3rem;
    }

    .my_invite_list .mint-cell-wrapper {
        font-size: .3rem;
        border-bottom: 1px solid #f2f3f8;
    }
</style>
